package cn.zl.ymcc.exception.errorCode;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum ErrorCode {
    SUCCESS("20000","成功"),
    USERNAME_NOT_EXIST("10001","用户不存在"),
    NETWORK_ERROR("10001","网络异常");
    private String code;
    private String message;
}
